<div class="action-dialog-model-fixed-body">
	<div class="detailsBox">
		<div class="openBox">
			<h3>
			<i class="jtIco"></i>新增提前进入考核期申请</h3>
	        <div class="detaiTab">
				<form  action="/rApplyAssessment/edit_save"  class="action-ajax-form" data-action-html="#action_load_body" method="post" >
			
			 <input name="id" value="${entity.id}" type="hidden"> 	
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr><#-- -----------------------------姓名需要联想,联想后的结果是否能用? ------------------------- -->
	  	 			<td class="bg" align="right" width="15%">姓名<font color="red">*</font>:</td>
	     			<td width="35%">
	     				<#-- <@autocomplete url="/act/search/employee?empName=" name="employeeName" value="${vo.employeeName}" hideIdName="employeeNo" hideIdValue="${vo.employeeNo}" placeholder = "请输入人员姓名"/>(联想) -->
	     				<@autocomplete url="/rReceived/autocomplete_person?name=" name="name" value="${entity.name}" hideIdName="employeeNo" hideIdValue="${entity.employeeNo}" placeholder = "请输入人员姓名"/>(联想)
	     			</td>
	     			<#--  
	     			<td class="bg" align="right" width="15%">省区<font color="red">*</font>:</td>
					<td width="35%"> 
						<select name="provinceCode" id="provinceCode">
        					<option  value="">请选择</option>
        					<#list ActOrgEntitys as ActOrgEntity>
        						<option value="${ActOrgEntity.unitCode}" <#if ActOrgEntity.unitCode == vo.provinceCode>selected="selected" </#if>>${ActOrgEntity.orgName}
        					</#list>
        				</select>			
        			</td>
        			-->
	    		</tr>
				<tr>
	  	 			<td class="bg" align="right" width="15%">职位<font color="red">*</font>:</td>
	     			<td width="35%">
	     		<#-- 下拉选择职位,需添加数据字典 信贷经理/区域总监    数据字典待写 -->
	     		 		<@select  dataSouceType="POSITION_MANAGER_DIRECTOR" name="position" value="${entity.position}" />
	     			</td>
	     		<#--  
	     			<td class="bg" align="right" width="15%">入职时间<font color="red">*</font>:</td>
	     			<td width="35%">
	     		-->
	     		<#-- --时间日期选择框-- -->
	     		<#-- 
	     				<@date name="hiredate" value="${vo.hiredate}" />
	     			</td>
	     		-->
	   			</tr>
	   			<tr>
	    			<td class="bg" align="right" width="15%">所属团队<font color="red">*</font>:</td>
	    			<td colspan="3">
	    		<#-- 文本输入,30字以内    -->
	    				<textarea rows="2" cols="80" name="team" placeholder="输入内容限30字">${entity.team}</textarea>
	    				<#-- 测试"保存并启动流程按钮"的标记位置  -->
	    				<input name="type" type="hidden" id="sas" value="" />
	    			</td>
	    
	    		</tr>
	    		<tr>
	    			<td class="bg" align="right" width="15%">提前进入考核说明<font color="red">*</font>:</td>
	    			<td colspan="3">
	    		<#-- 多行文本框,500字以内  备注:历史业绩,个人资源,其他能说明个人有能力进入考核的理由 -->
	    				<textarea rows="5" cols="80" placeholder=" 输入内容限500字。 备注:历史业绩、个人资源、其它能说明个人有能力进入考核的事由。" name = "applyAssessmentExplain" >${entity.applyAssessmentExplain}</textarea>
	    			</td>
	    		</tr>	
	    		
	    		
				<tr>
					<td colspan="4" style="text-align: center;">
					<@permission permissionName="saveApply">
						<input type="submit" value="保存" class="btn_auto_30 btn_blue" id="sv" />&nbsp;&nbsp;&nbsp;&nbsp;
					</@permission>
				<#-- href待改   模板:  <a href="<@url value='/rcollectFees/startup?id=${entity.id}'/>" class="btn_auto_30 btn_blue action-ajax-btn">启动流程</a>   -->
				<#-- <a href="/rAapplyAssessment/applyStartFlow?id=" class="btn_auto_30 btn_blue" >保存并启动流程</a> -->
				 <@permission permissionName="saveAndStartApply">	
						<input type="button" value="保存并启动流程" onclick="saveAndStart();" class="ajax btn_auto_30 btn_blue">
				 </@permission>
				 
							&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
				</tr>
				</table>
	</form>
	
	</div>
	</div>
</div>
</div>
<script type="text/javascript">
function saveAndStart() {
		$("#sas").val("SAS")
		$("#sv").click();
	}
</script>